<template>
<p>{{user.user_id}}</p>
</template>

<script>
import axios from "axios"
import querystring from "querystring"
import api from "../api/index"
export default {
	data() {
		return {
			user:{}		
		}
	},
	mounted() {
		axios({
			method:'get',
			url: 'http://59.65.232.233:5080/api_1_0/ssoUser/2023112418092854',
		}).then(res => {
			// console.log(res.data);
			this.user = res.data.data[0]
		})

		axios({
			method: 'post',
			url: 'http://59.65.232.233:5080/api_1_0/ssoUser/login',
			data: querystring.stringify({
				account: "admin",
				password:"123456"
			})
		}).then(res => {
			console.log(res.data)
		})

		api.getUser().then(res => {
			console.log(res.data)
		})
	}
}
</script>